<?php
namespace Admin\Model;
use Think\Model;
class ActivityModel extends Model {
	public function get_info(){
		$info=$this->order('id DESC')->select();
		return $info;
	}

	public function get_info1(){
		$data['id']=I('pk');
		$info=$this->where($data)->find();
		return $info;
	}

	public function up_acinfo(){
		$data=I('');
		$data1['id']=I('id');
		return $this->where($data1)->save($data);
	}
	public function deleteac(){
		$data['id']=I('pk');
		return $this->where($data)->delete();
	}

}